<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head th:include="common/head :: htmlhead">
<body>
<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
            <div class="layui-row layui-col-space15" th:hidden="${checkstatus}>1?false:true">
                <div class="layui-col-md6">
                    <div class="layui-card">
                        <div class="layui-card-header">快捷方式</div>
                        <div class="layui-card-body">
                            <div class="layui-carousel layadmin-carousel layadmin-shortcut">
                                <div carousel-item>
                                    <ul class="layui-row layui-col-space10">
                                        <li class="layui-col-xs2">
                                            <a>
                                                <i class="layui-icon layui-icon-cols"></i>
                                                <cite>跨链技术</cite>
                                            </a>
                                        </li>
                                        <li class="layui-col-xs2">
                                            <a>
                                                <i class="layui-icon layui-icon-cols"></i>
                                                <cite>节点增减</cite>
                                            </a>
                                        </li>
                                        <li class="layui-col-xs2">
                                            <a>
                                                <i class="layui-icon layui-icon-cols"></i>
                                                <cite>共识1</cite>
                                            </a>
                                        </li>
                                        <li class="layui-col-xs2">
                                            <a>
                                                <i class="layui-icon layui-icon-cols"></i>
                                                <cite>共识2</cite>
                                            </a>
                                        </li>
                                        <li class="layui-col-xs2">
                                            <a>
                                                <i class="layui-icon layui-icon-cols"></i>
                                                <cite>共识3</cite>
                                            </a>
                                        </li>
                                        <li class="layui-col-xs2">
                                            <a>
                                                <i class="layui-icon layui-icon-cols"></i>
                                                <cite>信用评价</cite>
                                            </a>
                                        </li>
                                        <li class="layui-col-xs2">
                                            <a>
                                                <i class="layui-icon layui-icon-cols"></i>
                                                <cite>信用迁移</cite>
                                            </a>
                                        </li>
                                        <li class="layui-col-xs2">
                                            <a>
                                                <i class="layui-icon layui-icon-cols"></i>
                                                <cite>信用融合</cite>
                                            </a>
                                        </li>
                                        <li class="layui-col-xs2">
                                            <a>
                                                <i class="layui-icon layui-icon-cols"></i>
                                                <cite>加密</cite>
                                            </a>
                                        </li>
                                        <li class="layui-col-xs2">
                                            <a>
                                                <i class="layui-icon layui-icon-cols"></i>
                                                <cite>存证</cite>
                                            </a>
                                        </li>
                                        <li class="layui-col-xs3">
                                            <a>
                                                <i class="layui-icon layui-icon-cols"></i>
                                                <cite>数据访问控制</cite>
                                            </a>
                                        </li>
                                    </ul>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="layui-col-md6">
                    <div class="layui-card">
                        <div class="layui-card-header">平台信息</div>
                        <div class="layui-card-body">
                            <div class="layui-carousel layadmin-carousel layadmin-backlog">
                                <div carousel-item>
                                    <ul class="layui-row layui-col-space10">
                                        <li class="layui-col-xs6">
                                            <a href="#" class="layadmin-backlog-body">
                                                <h3>节点数量</h3>
                                                <p><cite>10</cite></p>
                                            </a>
                                        </li>
                                        <li class="layui-col-xs6">
                                            <a href="#" class="layadmin-backlog-body">
                                                <h3>区块数量</h3>
                                                <p><cite>1234</cite></p>
                                            </a>
                                        </li>
                                        <li class="layui-col-xs6">
                                            <a href="#" class="layadmin-backlog-body">
                                                <h3>交易数量</h3>
                                                <p><cite>1234</cite></p>
                                            </a>
                                        </li>
                                        <li class="layui-col-xs6">
                                            <a href="#" class="layadmin-backlog-body">
                                                <h3>系统用户数</h3>
                                                <p><cite>30</cite></p>
                                            </a>
                                        </li>
                                    </ul>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="layui-col-md12">
                    <div class="layui-card">
                        <div class="layui-card-header">数据概览</div>
                        <div class="layui-card-body">
                            <div class="layui-carousel layadmin-carousel layadmin-dataview" data-anim="fade"
                                 lay-filter="LAY-index-dataview">
                                <div carousel-item id="LAY-index-dataview">
                                    <div><i class="layui-icon layui-icon-loading1 layadmin-loading"></i></div>
                                    <div></div>
                                    <div></div>
                                </div>
                            </div>

                        </div>
                    </div>
                </div>
            </div>

            <!--未提交审核文件-->
            <div class="layui-row layui-col-space15" th:hidden="${checkstatus}==0?false:true">
                <div class="layui-col-md12">
                    <div class="layui-card layui-card-body" style="font-size: 18px">
                        您还未上传审核文件，请先提交审核文件。
                    </div>
                    <div class="layui-card layui-card-body" style="font-size: 18px">
                        <button type="button" onclick="uploadcheckfile()" class="layui-btn">上传审核文件</button>
                    </div>
                </div>
            </div>

            <!--提交审核文件，未审核-->
            <div class="layui-row layui-col-space15" th:hidden="${checkstatus}==1?false:true">
                <div class="layui-col-md12">
                    <div class="layui-card layui-card-body" style="font-size: 18px">
                        管理员还未审核，请联系管理员。
                    </div>
                    <div class="layui-card layui-card-body" style="font-size: 18px">
                        <button type="button" onclick="registerinfo()" class="layui-btn">修改注册资料</button>
                    </div>
                </div>
            </div>

            <!--提交审核文件，未审核-->
            <div class="layui-row layui-col-space15" th:hidden="${checkstatus}<0?false:true">
                <div class="layui-col-md12">
                    <div class="layui-card layui-card-body" style="font-size: 18px">
                        您目前审核未通过，请修改注册资料或联系管理员
                    </div>
                    <div class="layui-card layui-card-body" style="font-size: 18px">
                        <label>审核意见：</label>
                        <cite th:text="${shenheyijian}"></cite>
                    </div>
                    <div class="layui-card layui-card-body" style="font-size: 18px">
                        <button type="button" onclick="registerinfo()" class="layui-btn">修改注册资料</button>
                    </div>
                </div>
            </div>
        </div>

    </div>
</div>
<script>
    layui.config({
        base: '/static/lib/' //静态资源所在路径
    }).extend({
        index: 'index' //主入口模块
    }).use(['index', 'console']);

    function registerinfo() {
        top.layui.index.openTabsPage('/registerinfo/register', "注册资料");
    }

    function uploadcheckfile() {
        top.layui.index.openTabsPage('/uploadcheckfile', "上传审核文件");
    }
</script>
</body>
</html>

